package com.heima.common.enums;

import lombok.Getter;

@Getter
public enum UserEnum {

    /**
     * 认证操作
     */
    USER_REALNAME_OP_FAIL(0, "认证拒绝"),
    USER_REALNAME_OP_PASS(1, "认证通过"),

    /**
     * 用户认证状态
     */
    USER_REALNAME_STATUS_CREATING(0, "创建中"),
    USER_REALNAME_STATUS_APPROING(1, "待审核"),
    USER_REALNAME_STATUS_FAIL(2, "审核失败"),
    USER_REALNAME_STATUS_PASS(9, "审核通过"),


    /**
     * 作者类型
     */
    AUTHOR_TYPE_SPIDER(0, "爬取数据"),
    AUTHOR_TYPE_SIGN(1, "签约合作商"),
    AUTHOR_TYPE_WEMEDIA(2, "平台自媒体人"),


    /**
     * APP用户类型
     */
    APPUSER_TYPE_NORMAL(0, "普通用户"),
    APPUSER_TYPE_WEMEDIA(1, "自媒体人"),
    APPUSER_TYPE_BIGV(2, "大V"),


    /**
     * 关注度级别
     */
    USER_FOLLOW_LEVEL_ONCE(0, "偶尔感兴趣"),
    USER_FOLLOW_LEVEL_NORMAL(1, "一般"),
    USER_FOLLOW_LEVEL_OFTEN(2, "经常"),
    USER_FOLLOW_LEVEL_USUALLY(3, "高度关注"),


    /**
     * 关注操作
     */
    USER_FOLLOW_OPRATION(0, "关注"),
    USER_FOLLOW_OPRATION_CANCEL(1, "取消关注"),
    ;

    private Integer val;
    private String desc;

    UserEnum(Integer val, String desc) {
        this.val = val;
        this.desc = desc;
    }
}
